#include "fxcc/core/graph/common/AnimTransition.h"

using namespace fxcc::graph::common;

void AnimTransition::UpdateEntityMap()
{
	for (auto& [channelName, transitionChannel] : m_Channels)
	{
		transitionChannel.SetEntityMap(
			m_LeftAxis* m_LeftAnim.m_AnimationMap.m_Value->m_TotalTime, 
			m_RightAxis * m_LeftAnim.m_AnimationMap.m_Value->m_TotalTime * m_RightAxis, 
			m_TransitionAxis);
	}
}